`:top
`!HTML Tidy`! is a `F33f`_`[console application`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Console_application]`_`f for correcting invalid `F33f`_`[HyperText Markup Language`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=HTML]`_`f (HTML), detecting potential `F33f`_`[web accessibility errors`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Web_accessibility]`_`f, and for improving the layout and `F33f`_`[indent style`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Indent_style]`_`f of the resulting markup. It is also a cross-platform `F33f`_`[library`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Library_(computing)]`_`f for `F33f`_`[computer applications`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Application_software]`_`f that provides HTML Tidy's features.
>>Contents
• `F0af`_`[History`#history]`_`f
• `F0af`_`[Features`#features]`_`f
• `F0af`_`[See also`#see-also]`_`f
• `F0af`_`[References`#references]`_`f
• `F0af`_`[External links`#external-links]`_`f
-─
>>History
HTML Tidy was developed by `F33f`_`[Dave Raggett`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Dave_Raggett]`_`f`:cite-ref-2[`F5bf`_`[2`#cite-note-2]`_`f] of the `F33f`_`[World Wide Web Consortium`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=World_Wide_Web_Consortium]`_`f (W3C). Later it was released as a `F33f`_`[SourceForge`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=SourceForge]`_`f project in 2003 and managed by various maintainers.`:cite-ref-3[`F5bf`_`[3`#cite-note-3]`_`f]
In 2012, the project was moved to `F33f`_`[GitHub`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=GitHub]`_`f,`:cite-ref-4[`F5bf`_`[4`#cite-note-4]`_`f] and maintained by Michael Smith, also of `F33f`_`[W3C`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=World_Wide_Web_Consortium]`_`f,`:cite-ref-5[`F5bf`_`[5`#cite-note-5]`_`f] where `F33f`_`[HTML5`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=HTML5]`_`f support was added.
In 2015, the HTML Tidy Advocacy Community Group (HTACG) was formed for management and development of HTML Tidy as a W3C Community Group.`:cite-ref-6[`F5bf`_`[6`#cite-note-6]`_`f]`:cite-ref-7[`F5bf`_`[7`#cite-note-7]`_`f]
HTML Tidy source code is written in `F33f`_`[ANSI C`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ANSI_C]`_`f for portability. Compiled binary files are available for a variety of platforms. It is available under the `F33f`_`[W3C Software Notice and License`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=W3C_Software_Notice_and_License]`_`f, a permissive `F33f`_`[BSD-style license`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=BSD_licenses]`_`f. Up-to-date versions are available as source code cloned from its GitHub `F33f`_`[Git version control`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Git_(software)]`_`f repository, or in binary packages for multiple operating systems from its GitHub Releases repository.
>>Features
Examples of corrections to invalid or poorly constructed HTML:
• Reorder mixed-up tags
• Complete missing or mismatched end tags
• Add missing syntax elements (some tags, quotes, etc.)
• Report proprietary HTML extensions
• Change layout of markup to a predefined style
• Transform characters from some encodings into HTML entities
>>See also
• `F33f`_`[Comparison of HTML parsers`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Comparison_of_HTML_parsers]`_`f
>>References
`:cite-note-wikidata-0b4a8cf90d862853962e7fb651b79a8c5e6f99b9-v20-1`!1.`! . 16 July 2021 https://github.com/htacg/tidy-html5/releases/tag/5.8.0. Retrieved 25 November 2021. `B100`F9d9{{cite web}}`f`b: Missing or empty `B100`F9d9|title=`f`b (help)
`:cite-note-2`!2.`! `F0af`_`[↑`#cite-ref-2]`_`f `:citerefraggett`aRaggett, Dave. "Clean up your Web pages with HTML TIDY". `*W3C.org`*. Retrieved 2015-02-12. (Dave Raggett's legacy HTML Tidy page.)
`:cite-note-3`!3.`! `F0af`_`[↑`#cite-ref-3]`_`f "SourceForge.net Repository - [tidy] Index of /". Tidy.cvs.sourceforge.net. Retrieved 2015-04-25.
`:cite-note-4`!4.`! `F0af`_`[↑`#cite-ref-4]`_`f tidy-html5 on `F33f`_`[GitHub`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=GitHub]`_`f
`:cite-note-5`!5.`! `F0af`_`[↑`#cite-ref-5]`_`f `:citerefsmith`aSmith, Michael. "Michael[tm] Smith". `*W3C.org`*. Retrieved 2015-02-12.
`:cite-note-6`!6.`! `F0af`_`[↑`#cite-ref-6]`_`f "HTACG". HTACG.org. Retrieved 2015-04-25.
`:cite-note-7`!7.`! `F0af`_`[↑`#cite-ref-7]`_`f `:citerefjim-derry2015`aJim Derry (15 January 2015). "HTML Tidy Advocacy Community Group". W3.org. Retrieved 2015-04-25.
>>External links
• HTML Tidy Project Page
• Current Source Code
• Official Binary Releases
• HTML Tidy Project Page (legacy)
• HTML Tidy service Archived 2002-10-03 at the `F33f`_`[Wayback Machine`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Wayback_Machine]`_`f Was an online version of HTML Tidy at the W3C. The W3C online tidy service was decommissioned on 29 November, 2017.
`c`F0af`_`[↑ Back to top`#top]`_`f`a